{% from '@SyliusAdmin/shared/helper/product_image.html.twig' import image %}

{% set product = hookable_metadata.context.resource.reviewSubject %}

<div class="card-body">
    <div class="thumbnail-box">
        <div class="thumbnail-box-image">
            {{ image(product) }}
        </div>
        <div class="thumbnail-box-content">
            <div class="mb-0" {{ sylius_test_html_attribute('product-name') }}>
                <a href="{{ path('sylius_admin_product_show', {'id': product.id}) }}">{{ product.name }}</a>
            </div>
        </div>
    </div>
</div>
